var heading_a = document.getElementsByClassName('ads-top-banner')[0].getElementsByClassName('heading')[0]; var heading_span = heading_a.getElementsByTagName('span')[0]; var description_a = document.getElementsByClassName('ads-top-banner')[0].getElementsByClassName('description')[0]; var description_span = description_a.getElementsByTagName('span')[0]; heading_a.href = 'http://www.ucoz.net/?pguid=3287388813'; heading_span.innerText = 'Free web-hosting with CMS'; description_a.href = 'http://www.ucoz.net/?pguid=3287388813'; description_span.innerText = 'Create your web-site within 10 minutes';